package com.luoran.bartalks.entity.biz;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import org.beetl.sql.core.annotatoin.AssignID;

import com.luoran.bartalks.entity.BaseInfo;

/**
 * 容器表
 */
public class BtContainer extends BaseInfo implements Serializable {

	private static final long serialVersionUID = 1L;

	public BtContainer() {
	}

	/**
	 * 主键
	 */
	@AssignID
	public String getId() {
		return getString("id");
	}

	public void setId(String id) {
		set("id", id);
	}

	/**
	 * 公司id
	 */
	public String getCompanyId() {
		return getString("companyId");
	}

	public void setCompanyId(String companyId) {
		set("companyId", companyId);
	}

	/**
	 * 容器编码
	 */
	public String getContainerCode() {
		return getString("containerCode");
	}

	public void setContainerCode(String containerCode) {
		set("containerCode", containerCode);
	}

	/**
	 * 容器类型(0,仓储容器,1运输容器)
	 */
	public Integer getContainerType() {
		return getInteger("containerType");
	}

	public void setContainerType(Integer containerType) {
		set("containerType", containerType);
	}

	/**
	 * 容器模板编码
	 */
	public String getTemplateCode() {
		return getString("templateCode");
	}

	public void setTemplateCode(String templateCode) {
		set("templateCode", templateCode);
	}

	/**
	 * 容器名称
	 */
	public String getContainerName() {
		return getString("containerName");
	}

	public void setContainerName(String containerName) {
		set("containerName", containerName);
	}

	/**
	 * 长(cm)
	 */
	public BigDecimal getLongs() {
		return getBigdecimal("longs");
	}

	public void setLongs(BigDecimal longs) {
		set("longs", longs);
	}

	/**
	 * 宽(cm)
	 */
	public BigDecimal getWide() {
		return getBigdecimal("wide");
	}

	public void setWide(BigDecimal wide) {
		set("wide", wide);
	}

	/**
	 * 高(cm)
	 */
	public BigDecimal getHigh() {
		return getBigdecimal("high");
	}

	public void setHigh(BigDecimal high) {
		set("high", high);
	}

	/**
	 * 自重(kg)
	 */
	public BigDecimal getDeadWeight() {
		return getBigdecimal("deadWeight");
	}

	public void setDeadWeight(BigDecimal deadWeight) {
		set("deadWeight", deadWeight);
	}

	/**
	 * 承重(kg)
	 */
	public BigDecimal getBearWeight() {
		return getBigdecimal("bearWeight");
	}

	public void setBearWeight(BigDecimal bearWeight) {
		set("bearWeight", bearWeight);
	}

	/**
	 * 容器许可(牌照)
	 */
	public String getPermission() {
		return getString("permission");
	}

	public void setPermission(String permission) {
		set("permission", permission);
	}

	/**
	 * 容器图片存储路径
	 */
	public String getContainerUrl() {
		return getString("containerUrl");
	}

	public void setContainerUrl(String containerUrl) {
		set("containerUrl", containerUrl);
	}

	/**
	 * 附件图片存储路径
	 */
	public String getAttachmentUrl() {
		return getString("attachmentUrl");
	}

	public void setAttachmentUrl(String attachmentUrl) {
		set("attachmentUrl", attachmentUrl);
	}

	/**
	 * 二维码内容格式:扫描类型(1物料,2容器)+';'+ID
	 */
	public String getQrcode() {
		return getString("qrcode");
	}

	public void setQrcode(String qrcode) {
		set("qrcode", qrcode);
	}

	/**
	 * 创建时间
	 */
	public Date getCreateTime() {
		return getDate("createTime");
	}

	public void setCreateTime(Date createTime) {
		set("createTime", createTime);
	}

	/**
	 * 备注
	 */
	public String getComment() {
		return getString("comment");
	}

	public void setComment(String comment) {
		set("comment", comment);
	}

	/**
	 * 状态0:正常;1:已删除
	 */
	public Integer getStatus() {
		return getInteger("status");
	}

	public void setStatus(Integer status) {
		set("status", status);
	}

}